/*
 注释是写给将来的自己和同行的说明性文字
*/
//
'use strict'

// alert('hello');

var name = 'yangjh';

let age = 42;

console.log(name, age);

{

    let age = 30;
    var name = 'yang';
    console.log(name, age);
}

console.log(name, age);

let a, b, c;

a = '5';
b = 10;

const A = 7;


// A = 6;

// console.log("A is " + A + ".");

// console.log(name, age, a + b);

if (age > 35) {
    console.log('悠着点');
} else {
    console.log('撸起袖子加油干');
}

for (let i = 1; i <= 9; i++) {
    console.log(i);
}

function add(a, b) {
    return a + b;
}

console.log(add(100, 2));

let obj = {
    name: 'yang',
    age: 42
}

console.log(obj);